package com.smart4j.framework.bean;

import java.lang.reflect.Method;

/**
 * 封装Action信息
 *
 * @author 段誉
 * @create 2019-04-01 16:39
 */
public class Handler {
  /**
   * controller类
   */
  private Class<?> controllerClass;
  /**
   * action 方法
   */
  private Method actionMethod;

  public Handler(Class<?> controllerClass, Method actionMethod) {
    this.controllerClass = controllerClass;
    this.actionMethod = actionMethod;
  }

  public Class<?> getControllerClass() {
    return controllerClass;
  }

  public Method getActionMethod() {
    return actionMethod;
  }
}
